import request from '@/utils/request'

// 查询留言记录列表
export function listMessage(query) {
  return request({
    url: '/client/message/list',
    method: 'get',
    params: query
  })
}

// 查询留言记录详细
export function getMessage(id) {
  return request({
    url: '/client/message/' + id,
    method: 'get'
  })
}


// 删除留言记录
export function delMessage(id) {
  return request({
    url: '/client/message/' + id,
    method: 'delete'
  })
}

